<%@ page language="java" contentType="text/html;charset=utf-8" %>
<!DOCTYPE HTML>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<head>
    <jsp:include page="common/common.jsp"/>
</head>
<body class="page-header-fixed">
<!-- BEGIN HEADER -->
<jsp:include page="common/header.jsp"/>
<div class="clearfix">
</div>
<div class="page-container">
    <div class="page-sidebar-wrapper">
        <jsp:include page="common/menu.jsp"/>
    </div>
    <div class="page-content-wrapper">
        <div class="page-content">
            <!-- BEGIN DASHBOARD STATS -->
            <div class="row-fluid">
                <div class="metro-nav">
                    <div class="metro-nav-block nav-block-orange">
                        <a data-original-title="" href="${path}/member/list?userType=0" id="dynamic"
                           uri="member">
                            <i class="icon-user"></i>

                            <div class="info"></div>
                            <div class="status">待审核会员</div>
                        </a>
                    </div>
                    <div class="metro-nav-block nav-block-orange">
                        <a data-original-title="" href="${path}/member/list?userType=1" id="dynamic"
                           uri="member">
                            <i class="icon-user"></i>

                            <div class="info"></div>
                            <div class="status">待审核企业</div>
                        </a>
                    </div>
                    <div class="metro-nav-block nav-block-grey">
                        <a data-original-title="" href="${path}/business/list" id="dynamic" uri="business">
                            <i class="icon-coffee"></i>

                            <div class="info"></div>
                            <div class="status">管理商机</div>
                        </a>
                    </div>
                    <div class="metro-nav-block nav-block-green">
                        <a data-original-title="" href="${path}/doc/list" id="dynamic" uri="business">
                            <i class="icon-thumbs-up"></i>

                            <div class="info"></div>
                            <div class="status">管理智库</div>
                        </a>
                    </div>
                </div>
            </div>
            <div class="clearfix"></div>
            <div class="row-fluid">
                <div class="metro-nav">
                    <div class="metro-nav-block nav-block-yellow">
                        <a data-original-title="" href="${path}/news/edit" id="dynamic" uri="business">
                            <i class="icon-eye-open"></i>

                            <div class="info"></div>
                            <div class="status">发布新闻</div>
                        </a>
                    </div>
                    <div class="metro-nav-block nav-block-yellow">
                        <a data-original-title="" href="${path}/newsp/edit" id="dynamic" uri="business">
                            <i class="icon-eye-open"></i>

                            <div class="info"></div>
                            <div class="status">发布公安新闻</div>
                        </a>
                    </div>
                    <div class="metro-nav-block nav-block-purple">
                        <a data-original-title="" href="${path}/doc/edit" id="dynamic" uri="business">
                            <i class="icon-globe"></i>

                            <div class="info"></div>
                            <div class="status">发布资讯</div>
                        </a>
                    </div>
                    <%--<div class="metro-nav-block nav-block-blue">
                        <a data-original-title="" href="${path}/business/init/1" id="dynamic" uri="business">
                            <i class="icon-stackexchange"></i>

                            <div class="info"></div>
                            <div class="status">发布商机</div>
                        </a>
                    </div>
                    <div class="metro-nav-block nav-block-blue">
                        <a data-original-title="" href="${path}/sjpinglun.jsp" id="dynamic" uri="business">
                            <i class="icon-bell"></i>

                            <div class="info"></div>
                            <div class="status">新留言</div>
                        </a>
                    </div>--%>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
</div>
<jsp:include page="common/footer.jsp"/>
<script type="text/javascript">
    jQuery(document).ready(function () {
        var $$ = $("a[id='dynamic']");
        for (var i = 0, len = $$.length; i < len; i++) {
            var $I = $($$[i]);
            var uri = $I.attr("uri");
            App.ajax(_path + "/" + uri + "/queryIndexInfo", "", function (data) {
                $I.find(".info").text(data.count);
            }, false);
        }
    })
</script>
</body>
</html>